/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package air_hockey_v2.gui;

import air_hockey_v2.engine.Itens;
import java.awt.Graphics;
import java.awt.Image;

/**
 *
 * @author Matheus Cintra
 */
public abstract class GuiItens {
    
    public GuiItens(JogoPanel panel, Itens item) {
        this.panel = panel;
        this.item = item;
    }

    public Itens getItem() {
        return item;
    }
    
    public abstract void draw(Graphics g);
    
    protected Itens item;
    protected JogoPanel panel;
    protected Image imagem;

}
